package jdir;

import jdir.dialog.JDirMainDlg;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import static jdir.util.LogUtil.begin;
import static jdir.util.LogUtil.end;

/**
 * JDir main class. Main purpose is to launch the main dialog
 * @author Marco Peroverde
 *
 */
@SuppressWarnings("unused")
public class JDirMain
{
	private static Log				LOG		= LogFactory.getLog(JDirMain.class);
	private static Boolean			DEBUG	= LOG.isDebugEnabled();	
	private static Boolean			TRACE	= LOG.isTraceEnabled();
	
	public static void main(String[] args)
	{
		if(DEBUG)
			begin(LOG, "");
		
		LOG.debug("Launching main Dialog");
		new JDirMainDlg();
		
		if(DEBUG)
			end(LOG, "");
	}
}
